const gxColumns = {
  tmmaterial: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser',
      scopedSlots: { customRender: 'adviser' }
    },
    {
      title: '客户电话',
      dataIndex: 'phone',
      scopedSlots: { customRender: 'phone' }
    },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    // {
    //   title: '商标名称',
    //   dataIndex: 'sb_name'
    // },
    // {
    //   title: '商标类别',
    //   dataIndex: 'sb_category'
    // },
    // {
    //   title: '领取时间',
    //   dataIndex: 'received_at'
    // },
    {
      title: '提交时间',
      dataIndex: 'submit_mats_time'
    },
    {
      title: '流程状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  government: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' },
      width: '180px'
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser',
      scopedSlots: { customRender: 'adviser' }
    },
    {
      title: '客户电话',
      dataIndex: 'phone',
      scopedSlots: { customRender: 'phone' }
    },
    // {
    //   title: '商标名称',
    //   dataIndex: 'sb_name',
    //   scopedSlots: { customRender: 'sb_name' }
    // },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    // {
    //   title: '商标分类',
    //   dataIndex: 'sb_category',
    //   width: '100px'
    // },
    {
      title: '申请主体',
      dataIndex: 'subject',
      width: '100px'
    },
    {
      title: '流程状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' },
      width: '170px'
    },
    {
      title: '历史信息',
      dataIndex: 'history',
      scopedSlots: { customRender: 'history' },
      ellipsis: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' },
      width: '150px'
    }
  ],
  tradeinformation: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    // {
    //   title: '商标名称',
    //   dataIndex: 'sb_name'
    // },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser',
      scopedSlots: { customRender: 'adviser' }
    },
    // {
    //   title: '注册类别',
    //   dataIndex: 'sb_category'
    // },
    // {
    //   title: '商标注册号/官方申请号',
    //   dataIndex: 'sb_reg_no',
    //   scopedSlots: { customRender: 'sb_reg_no' },
    //   width: '110px'
    // },
    {
      title: '业务开启时间',
      dataIndex: 'open_time',
      sorter: true
    },
    {
      title: '已上传回执',
      dataIndex: 'filename',
      scopedSlots: { customRender: 'filename' }
    },
    {
      title: '已付成本',
      dataIndex: 'cost_fee',
      scopedSlots: { customRender: 'cost_fee' }
    },
    {
      title: '案件状态',
      dataIndex: 'state_name',
      scopedSlots: { customRender: 'state_name' }
    },
    {
      title: '流程状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' },
      width: '200px'
    }
  ],
  history: [
    {
      title: '上传时间',
      dataIndex: 'created_at'
    },
    {
      title: '文件名称',
      dataIndex: 'filename',
      scopedSlots: { customRender: 'filename' }
    },
    {
      title: '上传状态',
      dataIndex: 'status'
    },
    {
      title: '成功/总条数',
      dataIndex: 'success_rows',
      scopedSlots: { customRender: 'success_rows' }
    }
  ]
}

export default gxColumns
